package com.atguigu.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient//注册用于consul的注册中心服务
@EnableFeignClients//启用feign客户段定义服务和绑定接口，
public class MainOPenFeign80 {
    public static void main(String[] args) {
        SpringApplication.run(MainOPenFeign80.class,args);
    }}